SRCS=Application.cpp \
     ApplicationPlayer.cpp \
     AppParamParser.cpp \
     Autorun.cpp \
     AutoSwitch.cpp \
     BackgroundInfoLoader.cpp \
     ContextMenuItem.cpp \
     ContextMenuManager.cpp \
     CompileInfo.cpp \
     CueDocument.cpp \
     DatabaseManager.cpp \
     DbUrl.cpp \
     DynamicDll.cpp \
     FileItem.cpp \
     FileItemListModification.cpp \
     GitRevision \
     GUIInfoManager.cpp \
     GUILargeTextureManager.cpp \
     GUIPassword.cpp \
     InfoScanner.cpp \
     LangInfo.cpp \
     MediaSource.cpp \
     NfoFile.cpp \
     PasswordManager.cpp \
     PlayListPlayer.cpp \
     PartyModeManager.cpp \
     SectionLoader.cpp \
     ServiceBroker.cpp \
     ServiceManager.cpp \
     SystemGlobals.cpp \
     TextureCache.cpp \
     TextureCacheJob.cpp \
     TextureDatabase.cpp \
     ThumbLoader.cpp \
     ThumbnailCache.cpp \
     URL.cpp \
     Util.cpp \
     XBApplicationEx.cpp \
     XBDateTime.cpp \

LIB=xbmc.a

DISTCLEAN_FILES=DllPaths_generated.h CompileInfo.cpp

.PHONY: .GitRevision

all: $(SRCS) $(LIB)

CompileInfo.cpp: ../version.txt CompileInfo.cpp.in GitRevision
	$(MAKE) -f gen-compileinfo.mk

GitRevision:
	$(MAKE) -f gen-compileinfo.mk GitRevision

include @abs_top_srcdir@/Makefile.include
-include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))


